package com.zwy.ubts.utils;

import java.util.Random;

/**
 * @Author Zhou Wenying
 * @Description:随机函数cont是生成位数
 * @Date Created in 20:35 2023/1/16
 */
public class RandomStringUtils {


    public static String random(int count){
        Random random = new Random();
        StringBuilder builder = new StringBuilder();
        for (int i = 0; i < count; i++) {
            builder.append(random.nextInt(10));
        }
        return builder.toString();
    }
}
